package com.rpc.center.event.eventtype;

import java.io.Serializable;

public enum EventType implements Serializable {
    HEART_EVENT(0,"心跳事件"),
    PUBLISH_EVENT(1,"服务发布事件"),
    DISCOVER_EVENT(2,"服务查找事件"),
    OFFLINE_EVENT(3,"服务下线");

    private int code;
    private String desc;
    private EventType(int code,String desc){
        this.code=code;
        this.desc=desc;
    }
}
